package com.bootdo.sell.service.impl;

import com.bootdo.goods.domain.GoodsDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.sell.dao.ComboDao;
import com.bootdo.sell.domain.ComboDO;
import com.bootdo.sell.service.ComboService;



@Service
public class ComboServiceImpl implements ComboService {
	@Autowired
	private ComboDao comboDao;
	
	@Override
	public ComboDO get(Integer id){
		return comboDao.get(id);
	}
	
	@Override
	public List<ComboDO> list(Map<String, Object> map){
		return comboDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return comboDao.count(map);
	}
	
	@Override
	public int save(ComboDO combo){
		return comboDao.save(combo);
	}
	
	@Override
	public int update(ComboDO combo){
		return comboDao.update(combo);
	}
	
	@Override
	public int remove(Integer id){
		return comboDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return comboDao.batchRemove(ids);
	}

	@Override
	public ComboDO getInfo(ComboDO comboDO) {
		return comboDao.getInfo(comboDO);
	}

	@Override
	public List<GoodsDO> getGoods(Map<String, Object> map) {
		return comboDao.getGoods(map);
	}

}
